<?php
/**
 * 友情链接模型
 * */
class FriendlinksclassModel extends Model
{
    protected $_link = array();

    /**
     * 验证数据
     * */
    //array(验证字段,验证规则,错误提示,验证条件,附加规则,验证时间)
    protected $_validate = array(
        array('name','require','请正确填写分类名称',1)
    );

    protected $autoCreateTimestamps = array('created');
    protected $autoUpdateTimestamps = array('updated');

}
?>
